<template>
  <div>
    <search-app :searchArrayList="searchArrayList" />
  </div>
</template>

<script>
import SearchApp from "@/components/SearchApp";

export default {
  components: {
    SearchApp
  },
  data() {
    return {
      searchResetButton: () => ({
      search: '搜索',
      reset: '閃避'
    }),
      searchArrayList: [
        {
          name: 'select',
          placeholder: "请输入优惠券的名称",
          items: [
            { value: "选项1", label: "黄金糕"},
            { value: "选项2", label: "双皮奶", },
            { value: "选项3", label: "蚵仔煎",},
            { value: "选项4", label: "龙须面" },
            { value: "选项5", label: "北京烤鸭" }
            ,
          ]
        },
        {
          name: "select",
          placeholder: '请选择你喜欢的食物',
          items: [
            { value: "选项1", label: "黄金糕" },
            { value: "选项2", label: "双皮奶" },
            { value: "选项3", label: "蚵仔煎" },
            { value: "选项4", label: "龙须面" },
            { value: "选项5", label: "北京烤鸭" }
          ]
        },
        {
          name: 'input',
          placeholder: "请输入你的名字",
          value: '',
        },
        {
          name: 'input',
          placeholder: "请输入你的名字",
          value: '',
        },
        {
          name: 'dataPicker',
          label: '请选择时间'
        }
        // 可以添加更多选项数组
      ]
      
    };
  }
};
</script>

<style>
</style>